package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户->角色关联表
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="RoleRelations对象", description="用户->角色关联表")
public class RoleRelations implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "role_id", type = IdType.ID_WORKER_STR)
    private Integer roleId;

    private Integer targetId;

    private String type;

    private Date createdAt;

    private Date updatedAt;


}
